home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
magazine
/
executive_v2.00
/
data
/
developers.lzx
/
SysInfo
/
examples
/
uptime
/
Makefile
< prev
next >
Wrap
Makefile
|
2002-08-16
|
837b
|
41 lines
#
# GCC makefile for SysInfo.library/uptime
#
# This file is public domain.
#
# Author: Petri Nordlund <petrin@megabaud.fi>
#
# $Id: MF.compile 1.5 1996/09/05 23:20:00 petrin Exp petrin $
#
# To compile uptime with multiuser.library support, you must have
# installed the Multiuser package, specifically the include-files.
# You'll also need GCC:lib/libmultiuser.a which is a small stub-library,
# see GCC:geninline/ for information on how to build it.
# Uncomment this to include multiuser-support
#MULTIUSER = -DUSE_MULTIUSER -lmultiuser
CFLAGS = -O
SHELL = USR:BIN/sh
# Source files
SRCS = uptime.c
# Object files
OBJS = $(SRCS:.c=.o)
all : uptime
uptime : uptime.o
gcc $(CFLAGS) -o uptime $^ -lamiga -lauto -lsysinfo $(MULTIUSER)
uptime.o : uptime.c defs.h
gcc $(CFLAGS) -c uptime.c
clean:
-delete uptime uptime.o